package ch06.ex1_11_1_2_PlatformTypes1

/**
 * Created by caozp-ytcyc2007 on 2017/5/26.
 */

class Person(val name: String?)

fun yellAtSafe(person: Person) {
    println((person.name ?: "Anyone").toUpperCase() + "!!!")
}

fun main(args: Array<String>) {
    yellAtSafe(Person(null))
}